scrolledwindow: Handle directional cancellation if there is a single scroll direction
authorCarlos Garnacho <carlosg@gnome.org>
Fri, 16 May 2014 16:35:45 +0000 (18:35 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Fri, 23 May 2014 17:54:32 +0000 (19:54 +0200)
commitd351c521148489f03c4cb4949922e58e62674f40
tree523bd2b1d52101207b63e286005e096064dfcd5f
parent57eca4f4455365f88d7d314526a24dbaafaf6e73
scrolledwindow: Handle directional cancellation if there is a single scroll direction

A pan gesture is optionally attached if there is only one scrolling direction, the pan
gesture orientation is changed so movements tangential to the scroll direction get
scrolling cancelled (The pan gesture is automatically denied when that happens, and
that state change spreads to the others gestures in the group). If the pan direction
happens in the expected directions, no cancellation happens, and scrolling eventually
takes place.
gtk/gtkscrolledwindow.c